package Shuiguo;

public class FruitTest {
    public static void main(String[] args) {
        Fruit A = new Fruit();
        A.setName("荔枝");
        A.setArea("广东");
        A.setPrice(24);
        System.out.println(A);

        Fruit B = new Fruit();
        B.setName("苹果");
        B.setArea("山东");
        B.setPrice(8);
        System.out.println(B);

        Fruit C= new Fruit();
        C.setName("芒果");
        C.setArea("西双版纳");
        C.setPrice(15);
        System.out.println(C);
    }
}
